<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>注册网易免费邮箱 - 中国第一大电子邮件服务商</title>
    <link rel="stylesheet" type="text/css" href="htz/css/htz.css">
    <link rel="shortcut icon" href="htz/img/favicon.ico">
</head>
<body>
    <header class="header">
        <!--左边栏-->
        <div class="bg">
            
        </div>
            <!--右边栏-->
        <div class="links">
            <a href="#">了解更多 </a>
            |
            <a href="#">反馈意见</a>        
        </div>
    </header>
    <section class="content">
    <header class="content-tit">
        <h1>欢迎注册无限容量的网易邮箱！邮件地址可以登录使用其他网易旗下产品。</h1>
    </header>
        <!-- 左边栏 -->
        <div class="mainBody">
            <div class="quywqwyu">
                <div class="regTxt">
                    <ul>
                     <li><a href="#"  class="a1" style="color:#fff;">注册字母邮箱</a></li>    
                     <li><a href="#" class="a2">注册手机号码邮箱</a></li>    
                     <li><a href="#" class="a3">注册VIP邮箱</a></li>  
                 </ul> 
                </div>
                <!-- 注册字母邮箱 开始-->
                <div class="regFxt" style="display:block">
                	<div><dl class="regFxt-itm">
                        <dt class="regFxt-it">
                          <span class="txt-imp">*</span>邮箱地址
                        </dt>
                        <dd class="regFxt-i">
                            <input type="text" class="ipt">
                            <strong style="font-weight: bold;font-size: 14px;">@</strong>
                            <select>
                                <option selected="selected">163.com</option>
                                <option value="126.com">126.com</option>
                                <option value="yeah.net">yeah.net</option>
                            </select>
                            <div class="tip">
                                <span>6~18个字符，可使用字母、数字、下划线，需以字母开头</span>
                            </div>
                        </dd>
                    </dl>
                </div> 
                 <div>
                    <dl class="regFxt-itm">
                        <dt class="regFxt-it">
                          <span class="txt-imp">*</span>密码
                        </dt>
                        <dd class="regFxt-i">
                            <input type="text" class="ipt" style="width:322px;">
                            <div class="tip">
                                <span>6~16个字符，区分大小写</span>
                            </div>
                        </dd>
                    </dl>
                </div>         
                 <div>
                    <dl class="regFxt-itm">
                        <dt class="regFxt-it">
                          <span class="txt-imp">*</span>确认密码
                        </dt>
                        <dd class="regFxt-i">
                            <input type="text" class="ipt" style="width:322px;">
                            <div class="tip">
                                <span>请再次填写密码</span>
                            </div>
                        </dd>
                    </dl>
                </div>
                

                 <!-- 注册字母邮箱 开始-->

                <div>
                    <dl class="regFxt-itm">
                        <dt class="regFxt-it">
                          <span class="txt-imp">*</span>手机号码
                        </dt>
                        <dd class="regFxt-i">
                            <input type="text" class="input ipt" style="padding-left: 35px;width:292px;  color:#000;" value="+86-" id=phoos>
                            <div class="itlSelect" id="itlSelect" style="display: none;">
                            <a href="#" class="flag-CN"><em></em>中国 +86</a>    
                            <a href="#" class="flag-AL"><em></em>阿尔巴尼亚(Shqipëria) +355</a>
                            <a href="#" class="flag-DZ"><em></em>阿尔及利亚(People's Democratic Republic of Algeria) +213</a>
                            <a href="#" class="flag-AF"><em></em>阿富汗(Republic of Afghanistan) +93</a>
                            <a href="#" class="flag-AR" data-code="+54"><em>&nbsp;</em>阿根廷(Argentina) +54</a>
                            <a href="#" class="flag-AE" data-code="+971"><em>&nbsp;</em>阿拉伯联合大公国(The United Arab Emirates) +971</a>
                            <a href="#" class="flag-AW" data-code="+297"><em>&nbsp;</em>阿鲁巴(Aruba) +297</a>
                            <a href="#" class="flag-OM" data-code="+968"><em>&nbsp;</em>阿曼(Sultanate of Oman) +968</a>
                            <a href="#" class="flag-AZ" data-code="+994"><em>&nbsp;</em>阿塞拜疆(Azərbaycan) +994</a>
                            <a href="#" class="flag-EG" data-code="+20"><em>&nbsp;</em>埃及(The Arab Republic of Egypt) +20</a>
                            <a href="#" class="flag-ET" data-code="+251"><em>&nbsp;</em>埃塞俄比亚(Ityop'iya) +251</a>
                            <a href="#" class="flag-IE" data-code="+353"><em>&nbsp;</em>爱尔兰(Ireland) +353</a>
                            <a href="#" class="flag-EE" data-code="+372"><em>&nbsp;</em>爱沙尼亚(Eesti) +372</a>


                            </div>
                           <div class="itl" style="width:35px;height:27px;line-height:27px;">
                                <div class="itl-fl" >
                                    <em></em>
                                </div>
                           </div>
                            <div class="tip">
                                <span>忘记密码时，可以通过该手机号码快速找回密码</span>
                            </div>
                        </dd>
                    </dl>
                </div> 
                         <!-- 验证码 -->

              <div class="regFxtt">
                    <dl class="regFxtt-itm">
                        <dt class="regFxtt-it">
                          <span class="txtt-imp">*</span>验证码
                        </dt>
                        <dd class="regFxtt-i">
                            <input type="text" class="iptt" >
                            <img class="vCode" style="cursor:pointer;" src="hejfiuo/imgee/call.jpg" alt="验证码" width="120" height="50">

                            <a id="vcodeA" href="#" class="switchvCode">看不清楚？换张图片</a>
                            <div class="tipt">
                                <span>请填写图片中的字符，不区分大小写</span>
                            </div> 
                               <div class="btns">
                        <a href="#" class="btn" onclick="">
                            <strong>免费获取验证码</strong></a>
                    </div>
                        </dd>
                    </dl>
                </div>

                  <div class="regFxtt">
                    <dl class="regFxtt-itm">
                        <dt class="regFxtt-it">
                          <span class="txtt-imp">*</span>短信验证码
                        </dt>
                        <dd class="regFxtt-i">
                            <input type="text" class="iptt" style="width:322px;">
                            <div class="tipt">
                                <span>请查收手机短信，并填写短信中的验证码</span>
                            </div>
                        </dd>
                    </dl>
                    <dl class="regForm-item">
                <dd class="regForm-item-ct txt-tips">
                    <label></label><input type="checkbox" checked="checked" > 同意<a href="#">"服务条款"</a>和<a href="#" >"隐私权相关政策"</a>
                   
                </dd>
               </dl>

               <dl class="regForm-item">
                <dd class="regForm-item-ct">
                    <a id="mainRegA" href="#" class="btnReg">立即注册</a>
                    <a id="mainRegA_d" href="#" class="btnRegDisable" style="display:none">立即注册</a>
                </dd>
            </dl>

        </div> 
    </div>
                 <!-- 注册字母邮箱 结束-->

                   <!-- 注册手机号码邮箱开始 -->
  <div id="regMobile" class="regFxt" style="display: none;">
                <dl  class="regForm-item">
                <dt class="regForm-item-tit"><span class="txt-impt">*</span>手机号码</dt>
                <dd class="regForm-item-ct">
                    <div class="mob-supt">
                        <input type="text" class="ipt">
                        <strong class="txt-14">@163.com</strong>
                        <b class="ico ico-mob"></b>
                    </div>
                    <div id="mobileTips" class="tips">
                        <span class="txt-tips">请填写手机号码</span>
                        
                    </div>
                </dd>
            </dl>
            <dl class="regForm-item vCodeArea vCodeArea-big">
                <dt class="regForm-item-tit"><span class="txt-impt">*</span>图片验证码</dt>
                <dd class="regForm-item-ct">
                    <input type="text" class="ipt" style="width: 196px;">
                    <img class="vCode" style="cursor:pointer;" src="hejfiuo/imgee/call.jpg" alt="验证码" width="120" height="50"><a href="#" class="switchvCode" tabindex="-1">看不清楚？换张图片</a>
                    <div class="tips">
                        <span class="txt-tips" >请填写图片中的字符，不区分大小写</span>
                    </div>
                    <div class="btns">
                        <a href="" class="btn" hidefocus="true"><strong>免费获取验证码</strong></a>
                        <span class="txt-succ" style="display:none;">&nbsp;&nbsp;短信验证码已发送</span>
                    </div>
                </dd>
            </dl>
            <dl  class="regForm-item">
                <dt class="regForm-item-tit"><span class="txt-impt">*</span>短信验证码</dt>
                <dd class="regForm-item-ct">
                    <input type="text" class="ipt norWidthIpt">
                    <div id="acodeTips" class="tips">
                        <span class="txt-tips">请查收手机短信，并填写短信中的验证码</span>
                    </div>
                </dd>
            </dl>
            <dl class="regForm-item">
                <dt class="regForm-item-tit"><span class="txt-impt">*</span>密码</dt>
                <dd class="regForm-item-ct">
                    <input type="password" class="ipt norWidthIpt" style="ime-mode:disabled">
                    <div  class="tips" style="position:relative">
                        <div class="pswState pswState-poor" style="display:none;">
                            <span class="s1">弱</span>
                            <span class="s2">中等</span>
                            <span class="s3">强</span>
                        </div>
                        <span class="txt-tips">6~16个字符，区分大小写</span>
                    </div>
                </dd>
            </dl>
            <dl class="regForm-item">
                <dt class="regForm-item-tit"><span class="txt-impt">*</span>确认密码</dt>
                <dd class="regForm-item-ct">
                    <input type="password" class="ipt norWidthIpt" style="ime-mode:disabled">
                    <div class="tips">
                        <span class="txt-tips">请再次填写密码</span>
                    </div>
                </dd>
            </dl>
            <dl class="regForm-item">
                <dd class="regForm-item-ct txt-tips">
                    <label></label><input type="checkbox" checked="checked" tabindex="-1"> 同意<a href="#" >"用户须知"</a>和<a href="#" >"隐私权相关政策"</a>
                    <div></div>
                </dd>
            </dl>
            <dl class="regForm-item">
                <dd class="regForm-item-ct">
                    <a href="#" class="btnReg">立即注册</a>
                    <a href="#" class="btnRegDisable" style="display:none">立即注册</a>
                </dd>
            </dl>
	    </div>	
                   <!-- 注册手机号码邮箱结束 -->
                   <!-- 注册VIP邮箱开始 -->
    <div class="regFxt" style="margin: 8px;display: none;">
        <div class="g-content">
        <form method="post" id="regform" class="J_regform J_loginForm" target="loginIframe">
        <div class="m-title">注册网易VIP邮箱，安全提升30%，享1对1服务，30元/月</div>
        <div class="m-mutilInput">
            <div class="m-input username">
                <div class="mn f-cb">
                    <label for="username"><i>*</i>用户名</label>
                    <input type="text" id="username" class="short J_username J_input" value="" name="name" autocomplete="off"><span class="u-domain">@VIP.163.com</span>
                    <div class="m-noticeName J_noticeName" style="display: none;">
                        
                    </div>
                </div>
                <div class="u-error J_error username" style="display: none;">用户名不能为空</div>
                <div class="u-warn J_warn username" style="display:block;">6~20个字母、数字、点、减号或下划线，需以字母开头</div>
            </div>
          
          <div class="m-input">
                <div class="mn f-cb">
                    <label for="password"><i>*</i>密码</label>
                    <input type="password" class="user-password J_password J_input" id="password" name="password" autocomplete="off">
                </div>
                <div class="u-error J_error password"></div>
                <div class="u-warn J_warn password">6~16个字符，区分大小写</div>
            </div>

           <div class="m-input scaptcha">
                <div class="mn f-cb">
                    <label for="scapTcha"><i>*</i>滑动验证码</label>
                    <div class="ScapTcha slideBg-slider slideBg-slider-horizontal">
                    <div class="puzzleBg" style="bottom: 44px; display: none;">
                    <img style="width: 320px; height: auto; border-radius: 8px;" src="hejfiuo/imgee/1462771333902_887535638">
                    <div class="puzzleFg" style="left: 7px;">
                    <img style="width: 60px; height: auto;" src="hejfiuo/imgee/1462771333902_1550748031">
                    </div></div>
                    <div class="slideBg" style="width: 320px; height: 32px; border-radius: 16px;">
                    <div class="slideFg" style="left: 1px;">
                    <img src="hejfiuo/imgee/slider_invalid.png" style="height: auto; width: 72px;"></div>
                    <div class="hintTxt" style="line-height: 32px; opacity: 1;">&gt;&gt;&gt;请拖动滑块&gt;&gt;&gt;</div></div>
                    <div class="statusTxt" style="height: 32px; margin-left: 332px; line-height: 32px;"></div></div>
                    <input type="hidden" id="pwd" value="" style="width:400px; height: 30px; border:1px solid red;">
                </div>
                <div class="u-error J_error scapTcha"></div>
                <div class="u-warn J_warn w-scapTcha">请滑动上方滑块验证</div>
            </div>

         </div>
        </form>
        </div>
    </div>
                   <!-- 注册VIP邮箱结束 -->

     </div>
	               <!-- 右边栏 -->
    	<aside class="mainBody-side">
            <div class="regExt">
    		  <img src="hejfiuo/imgee/reg_master.gif">
            </div>
    	</aside>
    </div>
     </section>
     <section class="content" style="display:none"></section>
    <footer class="footer" style="height:80px">
    <a href="#" >关于网易</a>&nbsp;&nbsp;<a href="#" >关于网易免费邮</a>&nbsp;&nbsp;<a  href="#" >邮箱官方博客</a>&nbsp;&nbsp;<a  href="#" >客户服务</a>&nbsp;&nbsp;<a  href="#" >隐私政策</a>&nbsp;&nbsp;|&nbsp;&nbsp;网易公司版权所有&nbsp;©&nbsp;1997-<script src=""></script>2018<br>数据来源：艾媒咨询《2015-2018中国个人邮箱行业研究报告》
</footer>
    <script type="text/javascript">

        function itlSelect() {
           var links=document.querySelectorAll('.itlSelect a');
            // console.log('.itlSelect');
            for (var i = 0; i < links.length; i++) {
                links[i].addEventListener('click',function(e){
                    var a=e.target;
                    var txt=a.innerText;
                    var cls=a.className;
                    console.log(txt+"--"+cls);
                    // 获取“+”所在的位置
                    // txt.length-txt.indexOf('+');

                    var aiuy=txt.substr(txt.indexOf('+'),txt.length-txt.indexOf('+')) ;
                    document.querySelector('#phoos').setAttribute('value',aiuy);
                    var q=document.querySelector('.itl-fl');
                    q.className=" itl-fl "+cls;          


                })                
            }
        }
        function swiWsd(){
            var wewe=document.querySelector('.itl');
            // console.log(wewe);
            wewe.addEventListener('click',function(e){
                    var w=e.target;
            var qrwe=document.querySelector('#itlSelect');
            // console.log(links);
            // qrwe.style.display==="none"? qrwe.style.display="block":qrwe.style.display="none";
             
            if(qrwe.style.display==="none"){
                qrwe.style.display="block";
            }else{
                qrwe.style.display="none";
            }
          
            })

        }
        function jkakj(){
           var RegTxt=document.querySelectorAll('.regTxt ul li a');
           console.log(RegTxt);
           var Ul=document.querySelector('.regTxt ul');
           var oregFxt = document.querySelectorAll(".regFxt");
           // console.log(RegTxt);
           for (var i = 0; i < RegTxt.length; i++) {
                RegTxt[i].index=i;

                for (var j = 0; j < oregFxt.length; j++) {
                	oregFxt[j].index = j;
                }

               RegTxt[i].addEventListener('click',function(e){
                 var item=e.target;
                 // console.log(item.index);
                Ul.style.background='url(hejfiuo/imgee/tab.jpg) no-repeat 0-'+item.index*55.92+'px';
                for (var a = 0; a < RegTxt.length; a++) {
                    RegTxt[a].style.color="#000";
                }
                item.style.color="#fff";
                // Ul.style.backgroundColor="#fff";
                for (var t = 0; t < oregFxt.length; t++) {
                	oregFxt[t].style.display = "none";
                    console.log(oregFxt[t]);
                }
                oregFxt[this.index].style.display = "block";
                console.log(oregFxt[this.index]);
               })
           }
        }
        jkakj();
        swiWsd();
        itlSelect();      
        
    </script>
   </body>
</html>